#pragma once

#include <QDialog>

QT_BEGIN_NAMESPACE
namespace Ui {
    class Dialog;
}
QT_END_NAMESPACE

class Custom : public QDialog {
Q_OBJECT

public:
    explicit Custom(QWidget *parent = nullptr);

    ~Custom() override;

    void setConfig(int r, int c, int n);

    std::tuple<int, int, int> getConfig();

private slots:

    void setMax();

private:
    Ui::Dialog *ui;
};
